package com.alibaba.algo.exception;

import lombok.Getter;

/**
 * @author Fan.tianpeng
 * @date 2021/5/6 9:57
 */
@Getter
public enum AppInfoErrorCode {

    APP_NAME_ALREADY_USED(20800, "应用名称已被占用"),
    APP_CODE_ALREADY_USED(20801, "应用编码已被占用"),
    APP_IS_NOT_EXIST(20802, "此应用不存在"),
    ;

    private Integer code;

    private String message;

    AppInfoErrorCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
